<!--_meta 作为公共模版分离出去-->
{include file="public/_meta"}
<!--/meta 作为公共模版分离出去-->

</head>

<body>
	<div class="cl pd-5 bg-1 bk-gray mt-20">添加推荐位信息</div>
	<div class="page-container">
		<form action="{:url('featured/add')}" method="post" class="form form-horizontal" id="form-article-add">
			<div class="row cl">
				<label class="form-label col-xs-4 col-sm-2">
					<span class="c-red">*</span>标题：</label>
				<div class="formControls col-xs-8 col-sm-9">
					<input type="text" class="input-text" value="" placeholder="" id="" name="title">
				</div>
			</div>

			<div class="row cl">
				<label class="form-label col-xs-4 col-sm-2">推荐图：</label>
				<div class="formControls col-xs-8 col-sm-9">
					<input type="file" name="file_upload" id="file_upload" />
					<img style="display:none" src="" alt="" id='upload_org_code_img'>
					<input id="file_upload_image" type="hidden" name="image" multiple="true" value="">
				</div>
			</div>

			<div class="row cl">
				<label class="form-label col-xs-4 col-sm-2">
					<span class="c-red">*</span>所属分类：</label>
				<div class="formControls col-xs-8 col-sm-9">
					<span class="select-box">
						<select name="type" class="select">
							{volist name='types' id='vo'}
							<option value="{$key}">{$vo}</option>
							{/volist}
						</select>
					</span>
				</div>
			</div>

			<div class="row cl">
				<label class="form-label col-xs-4 col-sm-2">
					<span class="c-red">*</span>URL：</label>
				<div class="formControls col-xs-8 col-sm-9">
					<input type="text" class="input-text" value="" placeholder="" id="" name="url">
				</div>
			</div>

			<div class="row cl">
				<label class="form-label col-xs-4 col-sm-2">
					<span class="c-red"></span>描述：</label>
				<div class="formControls col-xs-8 col-sm-9">
					<input type="text" class="input-text" value="" placeholder="" id="" name="description">
				</div>
			</div>

			<div class="row cl">
				<div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-2">
					<button onClick="article_save_submit();" class="btn btn-primary radius" type="submit">
						<i class="Hui-iconfont">&#xe632;</i> 提交</button>
					<button onClick="layer_close();" class="btn btn-default radius" type="button">&nbsp;&nbsp;取消&nbsp;&nbsp;</button>
				</div>
			</div>
		</form>
	</div>

	<!--_footer 作为公共模版分离出去-->
	{include file="public/_footer"}
	<!--/_footer 作为公共模版分离出去-->

	<script type="text/javascript" src="__STATIC__/admin/uploadify/jquery.uploadify.min.js"></script>
	<script type="text/javascript" src="__STATIC__/admin/js/image.js"></script>
	<script type="text/javascript" src="__STATIC__/admin/js/common.js"></script>

	<!--请在下方写此页面业务相关的脚本-->
	<script>
		var SCOPE = {
			'uploadify_swf': '__STATIC__/admin/uploadify/uploadify.swf',
			'image_upload': '{:url("api/image/upload")}'
		}
	</script>

</body>

</html>